import {
  Request
} from '../index.js'
//登录
export function login(data) {
  return Request({
    url: '/wxapplet/login',
    method: 'post',
    data: data
  })
}
//头像上传
export function uploaduserimage(data) {
  return Request({
    url: '/wxapplet/uploaduserimage',
    method: 'post',
    data: data
  })
}
//昵称上传
export function uploadusername(data) {
  return Request({
    url: '/wxapplet/uploadusername',
    method: 'post',
    data: data
  })
}